package com.qf.osmorder.order.service;

import com.qf.common.pay.dto.PayDTO;
import com.qf.common.pay.param.RefundParam;
import com.qf.osmorder.order.dto.RechargeOrderDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface OrderService {
    String addRechargeOrder(RechargeOrderDTO rechargeOrderDTO);

    String prePay(PayDTO payDTO);

    void notify(HttpServletRequest request, HttpServletResponse response);

    String refundOrder(RefundParam refundParam);

    void returnNotify(HttpServletRequest request, HttpServletResponse response);

    void checkRechargeOrders();
}
